import request from '@/utils/request'

// 查询应用场景列表
export function listSolutionscene(query) {
  return request({
    url: '/tianqi/solutionscene/list',
    method: 'get',
    params: query
  })
}

// 查询应用场景详细
export function getSolutionscene(id) {
  return request({
    url: '/tianqi/solutionscene/' + id,
    method: 'get'
  })
}

// 新增应用场景
export function addSolutionscene(data) {
  return request({
    url: '/tianqi/solutionscene',
    method: 'post',
    data: data
  })
}

// 修改应用场景
export function updateSolutionscene(data) {
  return request({
    url: '/tianqi/solutionscene',
    method: 'put',
    data: data
  })
}

// 删除应用场景
export function delSolutionscene(id) {
  return request({
    url: '/tianqi/solutionscene/' + id,
    method: 'delete'
  })
}
